package com.xizimall.sso.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xizimall.pojo.TbUser;
import com.xizimall.common.pojo.XizimallResult;

public interface UserService {
  XizimallResult checkData(String context,Integer type);
   XizimallResult createUser(TbUser user);
   XizimallResult userLogin(String username,String password, HttpServletRequest request, HttpServletResponse response);
   XizimallResult getUserByToken(String token);
   void userLogout(HttpServletRequest request, HttpServletResponse response);
   }

